home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / hardware / mccontrol / modules / include.i < prev    next >
Text File  |  1999-11-29  |  2KB  |  43 lines

  1. Module_Identifier    = "MCCM"
  2. Module_VersionNumber    = 1
  3.     RSRESET
  4. Module_Code    rs.w 1 ;MUST $4e75 (RTS)
  5. Module_Version    rs.w 1 ;Must be Module_VersionNumber
  6. Module_ID    rs.l 1 ;Must be "MCCM"
  7. Module_Flags    rs.l 1
  8. Module_Exec_Base    rs.l 1 ;Filled by MCControl
  9. Module_Dos_Base    rs.l 1 ;Filled by MCControl
  10. Module_Intuition_Base    rs.l 1 ;Filled by MCControl
  11. ;--- Card Data
  12. Module_DelayReadByte    rs.l 1 ;Filled by MCControl
  13. Module_DelayReadBit    rs.l 1 ;Filled by MCControl
  14. Module_DelayWriteByte    rs.l 1 ;Filled by MCControl
  15. Module_DelayWriteBit    rs.l 1 ;Filled by MCControl
  16.     rs.l 10 ;reserved (must be ZERO)
  17. ;--- Jump Table
  18. Module_Delay    rs.w 3 ;Filled by MCControl
  19. Module_Open    rs.w 3
  20. Module_Close    rs.w 3
  21. Module_FrameOpen    rs.w 3
  22. Module_FrameClose    rs.w 3
  23. Module_ReadCommand    rs.w 3
  24. Module_WriteCommand    rs.w 3 ;equal to Module_ReadCommand other delay
  25. Module_PADOpen    rs.w 3
  26. Module_PADClose    rs.w 3
  27. Module_PADCommand    rs.w 3
  28.     rs.w 3*10 ;reserved
  29. Module_SIZEOF    rs.b 0
  30. ;----------------------------------------------------------------------------
  31.  BITDEF Module,Delay,0      ;Tell MCControl you require timing data.
  32.         ;This will be used to disable/hide useless
  33.         ;gadgets for your reader.
  34.  BITDEF Module,Device,1     ;Tell MCControl you require an Device/Unit
  35.          ;selector
  36.  BITDEF Module,MultiPage,2  ;Tell MCControl you support MultiPage support
  37. ;----------------------------------------------------------------------------
  38. Module_Error_NoError       = 0
  39. Module_Error_OpenDevice    = 1
  40. Module_Error_NotCompatible = 2 ;If hardware supports identification!
  41. Module_Error_OutOfMemory   = 20
  42. ;----------------------------------------------------------------------------
  43.